import 'package:flutter/cupertino.dart';

class NameBean{


  final String name;
  final List<NameBean> children;
  // children 默认初始化
  NameBean(this.name, [this.children = const <NameBean>[]]);
}

final List<NameBean> data1 =<NameBean>[
  NameBean(
      '长沙市农村信用合作联社机关',
      <NameBean>[
        NameBean(
            '长沙农村商业银行股份有限公司',
            <NameBean>[
              NameBean(
                  '长沙雨花农村合作银行'
              ),
              NameBean(
                  '长沙天心农村合作银行',
              ),

            ]
        ),
      ]
  )
];
